package com.smh.a02IOStreamDemo2;

import java.io.FileReader;
import java.io.IOException;

public class CharSetDemo7 {
    public static void main(String[] args) throws IOException {
        //测试
        FileReader fr = new FileReader("day26-code\\file\\c.txt");

        for (int i = 0; i < 8192; i++) {
            int read = fr.read();
            //System.out.print(read+" ");
            System.out.print((char) read);
        }

        fr.read();

        fr.close();


    }
}
